<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  
  <title></title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
    <meta name="keywords" content="EricWang's Blog">
  
  <meta property="og:type" content="website">
<meta property="og:title">
<meta property="og:url" content="https://bigbigdreamer.github.io/page/4/index.html">
<meta property="og:site_name">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title">
  
  
    <link rel="icon" href="favicon.ico">
  
  <link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="/css/style.css">
  <script src="/js/pace.min.js"></script>
  

  
	<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "//hm.baidu.com/hm.js?490c72c80e7c5f485272ffc6d84c956b";
	  var s = document.getElementsByTagName("script")[0]; 
	  s.parentNode.insertBefore(hm, s);
	})();
	</script>

  

  <script>
    (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
      }
      else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
      }
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
    })();
  </script>
  <meta name="google-site-verification" content="2yIvO7JmvHMSNv3topeJQ8rrtv6HN-mKjYLR5sdxeaQ">
</head>
</html>
<body>
  <div id="container">
      <header id="header">
    <div id="banner"></div>
    <div id="header-outer">
        <div id="header-menu" class="header-menu-pos animated">
            <div class="header-menu-container">
                <a href="/" class="left">
                    <span class="site-title">BigDreamer</span>
                </a>
                <nav id="header-menu-nav" class="right">
                    
                    <a href="/">
                        <i class="fa fa-home"></i>
                        <span>主页</span>
                    </a>
                    
                    <a href="/archives">
                        <i class="fa fa-archive"></i>
                        <span>文章</span>
                    </a>
                    
                    <a href="/about">
                        <i class="fa fa-user"></i>
                        <span>个人介绍</span>
                    </a>
                    
                    <a href="/photo">
                        <i class="fa fa-photo"></i>
                        <span>照片集</span>
                    </a>
                    
                    <a href="/works">
                        <i class="fa fa-briefcase"></i>
                        <span>作品集</span>
                    </a>
                    
                </nav>
                <a class="mobile-header-menu-button">
                    <i class="fa fa-bars"></i>
                </a>
            </div>
        </div>
        <div id="header-row">
            <div id="logo">
                <a href="/">
                    <img src="/images/logo.jpg" alt="logo">
                </a>
            </div>
            <div class="header-info">
                <div id="header-title">
                    
                    <h2>
                        BigDreamer
                    </h2>
                    
                </div>
                <div id="header-description">
                    
                    <h3>
                        情不知所起，一往而深。
                    </h3>
                    
                </div>
            </div>
            <nav class="header-nav">
                <div class="social">
                    
                        <a title="EricWang" target="_blank" href="//ivu1314.club">
                            <i class="fa fa-home fa-2x"></i></a>
                    
                        <a title="Github" target="_blank" href="https://github.com/bigbigDreamer">
                            <i class="fa fa-github fa-2x"></i></a>
                    
                        <a title="QQ" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1826001146&site=qq&menu=yes">
                            <i class="fa fa-qq fa-2x"></i></a>
                    
                </div>
            </nav>
        </div>
    </div>
</header>
      <div class="outer">
        <section id="main" class="body-wrap">
  
    <article id="post-node中的模块机制" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/b179/">node中的模块机制</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/Node/">Node</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/b179/">
                
                <img src="https://bigbigdreamer.github.io/images/Node.png" alt="node中的模块机制" title="node中的模块机制">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x524D;&#x8A00;
&#x2003;&#x2003;&#x4ECA;&#x5929;&#x5C31;node&#x4E2D;&#x7684;exports&#x4E0E;module.exports&#x4F5C;&#x4EE5;&#x9610;&#x91CA;&#x3002;

exports&amp;module.exports&#x5173;&#x7CFB;
&#x2003;&#x2003;exports&#x662F;&#x4E00;&#x4E2A;&#x5BF9;&#x8C61;&#xFF0C;&#x5E76;&#x4E14;&#x662F;module.exports&#x7684;&#x5F15;&#x7528;&#xFF0C;&#x53EF;&#x4EE5;&#x6BEB;&#x4E0D;&#x5938;&#x5F20;&#x7684;&#x8BF4;exports=module.exports&#x3002;

&#x539F;&#x7406;
&#x2003;&#x2003;&#x6BCF;&#x4E2A;&#x6A21;&#x5757;&#x5...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-29</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/node/" class="color5">node</a>
      
    <a href="/tags/module.exports/" class="color5">module.exports</a>
      
    <a href="/tags/exports/" class="color3">exports</a>
      
  </li>

        </ul>
        
            <a href="/b179/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-module" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/21b6/">JS模块机制</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/ES6/">ES6</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/21b6/">
                
                <img src="https://bigbigdreamer.github.io/images/Node.png" alt="JS模块机制" title="JS模块机制">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x524D;&#x8A00;
&#x2003;&#x2003;&#x76F8;&#x4FE1;&#x5F88;&#x591A;&#x4EBA;&#x90FD;&#x60F3;&#x8FC7;&#x53BB;&#x5199;&#x5199;&#x81EA;&#x5DF1;&#x5C01;&#x88C5;&#x7684;&#x51FD;&#x6570;&#x5DE5;&#x5177;&#x5E93;&#x3002;&#x5982;&#x4F55;&#x53BB;&#x66B4;&#x9732;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#x5E93;&#x5462;&#xFF0C;&#x6211;&#x8FD9;&#x91CC;&#x6709;&#x4E24;&#x79CD;&#x65B9;&#x6848;&#xFF0C;&#x4E00;&#x79CD;&#x662F;return&#x4E00;&#x4E2A;&#x5BF9;&#x8C61;&#xFF0C;&#x4E00;&#x79CD;&#x662F;&#x533F;&#x540D;&#x51FD;&#...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-28</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/ES6/" class="color4">ES6</a>
      
    <a href="/tags/JS模块化/" class="color1">JS模块化</a>
      
    <a href="/tags/封装/" class="color3">封装</a>
      
  </li>

        </ul>
        
            <a href="/21b6/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-singleton" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/f37c/">设计模式之单例模式</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/设计模式/">设计模式</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/f37c/">
                
                <img src="https://bigbigdreamer.github.io/images/pattern.jpg" alt="设计模式之单例模式" title="设计模式之单例模式">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x524D;&#x8A00;&#x6982;&#x8FF0;
&#x2003;&#x2003;&#x4E3A;&#x4E86;&#x4F7F;&#x5F97;&#x81EA;&#x5DF1;&#x5199;&#x7684;&#x4EE3;&#x7801;&#x66F4;&#x52A0;&#x7684;&#x5177;&#x6709;&#x5065;&#x58EE;&#x6027;&#xFF0C;&#x6211;&#x4E5F;&#x6162;&#x6162;&#x5F00;&#x59CB;&#x4E86;&#x7814;&#x7A76;&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;&#xFF0C;&#x4ECA;&#x5929;&#x7B97;&#x662F;&#x7B2C;&#x4E00;&#x5929;&#x8D77;&#x6B65;&#xFF0C;&#x5148;&#x4ECE;&#x6700;&#x7B80;&#x5355;&#x7684;&#x5355;&#x4F8B;&#x6A21;&#x5F0F;&#x5F00;&#x59CB;&#x3002;...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-26</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/ES6/" class="color4">ES6</a>
      
    <a href="/tags/JavaScript/" class="color1">JavaScript</a>
      
    <a href="/tags/设计模式/" class="color5">设计模式</a>
      
    <a href="/tags/单例模式/" class="color5">单例模式</a>
      
  </li>

        </ul>
        
            <a href="/f37c/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-changyan" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/6f8e/">Vue接入搜狐畅言评论模块</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/Vue/">Vue</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/6f8e/">
                
                <img src="https://bigbigdreamer.github.io/images/vue.png" alt="Vue接入搜狐畅言评论模块" title="Vue接入搜狐畅言评论模块">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x524D;&#x8A00;
&#x2003;&#x2003;&#x4E0A;&#x5929;&#x603B;&#x4F1A;&#x7737;&#x987E;&#x9ED8;&#x9ED8;&#x52AA;&#x529B;&#x5BFB;&#x6C42;&#x7B54;&#x6848;&#x7684;&#x4EBA;&#xFF0C;&#x5F53;&#x7136;&#x8FD9;&#x91CC;&#x5E76;&#x4E0D;&#x662F;&#x81EA;&#x5439;&#x81EA;&#x64C2;&#xFF0C;&#x800C;&#x662F;&#xFF0C;&#x5728;&#x6211;&#x89E3;&#x51B3;&#x5B8C;&#x8FD9;&#x4E2A;&#x6280;&#x672F;&#x95EE;&#x9898;&#x4E4B;&#x524D;&#xFF0C;&#x5728;&#x767E;&#x5EA6;&#x5E76;&#x6CA1;&#x6709;&#x627E;&#x5230;&#x4EFB;&#x4F55;&#x5408;&#x9002;...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-24</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/Vue/" class="color4">Vue</a>
      
    <a href="/tags/搜狐畅言/" class="color5">搜狐畅言</a>
      
  </li>

        </ul>
        
            <a href="/6f8e/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-nginx" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/6035/">vue生产环境与开发环境跨域详解</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/Vue/">Vue</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/6035/">
                
                <img src="https://bigbigdreamer.github.io/images/Node.png" alt="vue生产环境与开发环境跨域详解" title="vue生产环境与开发环境跨域详解">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x524D;&#x8A00;
&#x2003;&#x2003;&#x4E0D;&#x662F;&#x6211;&#x5410;&#x69FD;&#x67D0;&#x5EA6;&#x5A18;&#x4E0E;&#x67D0;CSDN&#x4E0A;&#x7684;&#x4E00;&#x4E9B;&#x535A;&#x4E3B;&#xFF0C;&#x89E3;&#x51B3;&#x95EE;&#x9898;&#x8981;&#x4E48;&#x5199;&#x5168;&#xFF0C;&#x8981;&#x4E48;&#x5C31;&#x4E0D;&#x5199;&#xFF0C;&#x6A21;&#x68F1;&#x4E24;&#x53EF;&#xFF0C;&#x6211;&#x80FD;&#x7406;&#x89E3;&#x4E3A;&#x8BEF;&#x4EBA;&#x5B50;&#x5F1F;&#x5417;&#xFF1F;&#x5E9F;&#x8BDD;&#x4E0D;&#x591A;&#x8BF4;&#xFF0C;&#x73B0;&#x5728;&#x5C31;&#x5...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-23</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/vue/" class="color4">vue</a>
      
    <a href="/tags/跨域/" class="color3">跨域</a>
      
    <a href="/tags/开发环境/" class="color5">开发环境</a>
      
    <a href="/tags/生产环境/" class="color5">生产环境</a>
      
    <a href="/tags/nginx/" class="color1">nginx</a>
      
  </li>

        </ul>
        
            <a href="/6035/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-DMZ" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/dfe/">DMZ(demilitarized zone,非军事区)</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/ES6/">ES6</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/dfe/">
                
                <img src="https://bigbigdreamer.github.io/images/JS.jpg" alt="DMZ(demilitarized zone,非军事区)" title="DMZ(demilitarized zone,非军事区)">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                DMZ&#x4ECB;&#x7ECD;
&#x2003;&#x2003;DMZ&#x662F;&#x82F1;&#x6587;&#x201C;demilitarized zone&#x201D;&#x7684;&#x7F29;&#x5199;&#xFF0C;&#x4E2D;&#x6587;&#x540D;&#x79F0;&#x4E3A;&#x201C;&#x9694;&#x79BB;&#x533A;&#x201D;&#xFF0C;&#x4E5F;&#x79F0;&#x201C;&#x975E;&#x519B;&#x4E8B;&#x5316;&#x533A;&#x201D;&#x3002;&#x5B83;&#x662F;&#x4E3A;&#x4E86;&#x89E3;&#x51B3;&#x5B89;&#x88C5;&#x9632;&#x706B;&#x5899;&#x540E;&#x5916;&#x90E8;&#x7F51;&#x7EDC;&#x7684;&#x8BBF;&#x95EE;&#x7528;&#x6237;&#x4E0D;&#x80FD;&#x8BBF;&#x95EE;...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-18</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/DMZ/" class="color4">DMZ</a>
      
    <a href="/tags/scope/" class="color1">scope</a>
      
  </li>

        </ul>
        
            <a href="/dfe/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-fileSystem" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/482d/">Linux文件系统</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/Linux/">Linux</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/482d/">
                
                <img src="https://bigbigdreamer.github.io/images/hexostart.jpg" alt="Linux文件系统" title="Linux文件系统">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                EXT&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x539F;&#x7406;&#x9610;&#x8FF0;
&#x2003;&#x2003;linux&#x7684;Ext&#x7CFB;&#x5217;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x5C31;&#x662F;&#x4E00;&#x79CD;&#x7D22;&#x5F15;&#x5F0F;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x3002; &#x5F53;inode&#x4E0E;block&#x8FC7;&#x591A;&#x65F6;&#xFF0C;&#x4E3A;&#x4FBF;&#x4E8E;&#x7BA1;&#x7406;&#xFF0C;Ext&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#x5728;&#x683C;&#x5F0F;&#x5316;&#x65F6;&#xFF0C;&#x5212;&#x5206;&#x4E86;&#x591A;&#x4E2A;&#x5757;&#x7EC4;&#xFF08...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-13</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/Linux/" class="color1">Linux</a>
      
    <a href="/tags/EXT/" class="color4">EXT</a>
      
    <a href="/tags/FAT/" class="color4">FAT</a>
      
  </li>

        </ul>
        
            <a href="/482d/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-filter" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/962f/">寻找句子中最长的单词</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/ES6/">ES6</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/962f/">
                
                <img src="https://bigbigdreamer.github.io/images/JS.jpg" alt="寻找句子中最长的单词" title="寻找句子中最长的单词">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x9898;&#x76EE;&#x8981;&#x6C42;
&#x2003;&#x2003;&#x6839;&#x636E;&#x6240;&#x7ED9;&#x7684;&#x53E5;&#x5B50;&#xFF0C;&#x5224;&#x65AD;&#x53E5;&#x5B50;&#x4E2D;&#x6700;&#x957F;&#x7684;&#x4E00;&#x4E2A;&#x7684;&#x5355;&#x8BCD;&#xFF0C;&#x5E76;&#x4E14;&#x80FD;&#x591F;&#x8FD4;&#x56DE;&#x6700;&#x957F;&#x7684;&#x90A3;&#x4E2A;&#x5355;&#x8BCD;&#x4EE5;&#x53CA;&#x5355;&#x8BCD;&#x7684;&#x957F;&#x5EA6;&#x3002;

&#x89E3;&#x51B3;&#x601D;&#x8DEF;
&#x2003;&#x2003;&#x6839;&#x636E;&#x6240;&#x7ED9;&#x53E5;&#x5B50;&#xFF...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-11</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/ES6/" class="color4">ES6</a>
      
  </li>

        </ul>
        
            <a href="/962f/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-queue" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/44a/">queue模拟</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/ES6/">ES6</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/44a/">
                
                <img src="https://bigbigdreamer.github.io/images/JS.jpg" alt="queue模拟" title="queue模拟">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                &#x524D;&#x8A00;
&#x2003;&#x2003;&#x6570;&#x636E;&#x7ED3;&#x6784;&#x662F;&#x6BCF;&#x4E00;&#x4E2A;&#x7A0B;&#x5E8F;&#x5458;&#x7684;&#x5185;&#x529F;&#xFF0C;&#x65E0;&#x8BBA;&#x600E;&#x6837;&#xFF0C;&#x6211;&#x4EEC;&#x90FD;&#x5E94;&#x8BE5;&#x53BB;&#x575A;&#x6301;&#x4FEE;&#x70BC;&#x597D;&#x8FD9;&#x95E8;&#x5185;&#x529F;&#x5FC3;&#x6CD5;&#x3002;&#x5E9F;&#x8BDD;&#x4E0D;&#x591A;&#x8BB2;&#xFF0C;&#x5F00;&#x59CB;queue&#x6A21;&#x62DF;&#xFF0C;&#x4ECA;&#x5929;&#x5F00;&#x59CB;&#xFF0C;&#x6BCF;&#x5929;&#x6A21;&#x...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-10</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/queue/" class="color1">queue</a>
      
    <a href="/tags/es6/" class="color4">es6</a>
      
    <a href="/tags/数据结构/" class="color5">数据结构</a>
      
  </li>

        </ul>
        
            <a href="/44a/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  
    <article id="post-vueRouter" class="article article-type-post" itemscope="" itemprop="blogPost">
  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/bac/">vue-router</a>
    </h1>
  

          
              <span class="header-cate">
                <i class="fa fa-map-marker"></i>
                  
                  <a href="/categories/Vue-Router/">Vue-Router</a>
                  
              </span>
          
      </header>
    
    <div class="article-entry " itemprop="articleBody">
      
        <div class="article-img">
            <a href="/bac/">
                
                <img src="https://bigbigdreamer.github.io/images/vue.png" alt="vue-router" title="vue-router">
                
            </a>
        </div>
        <div class="article-feed">
            <p>
                
&#x2003;&#x2003;&#x5173;&#x4E8E;vue-router&#xFF0C;&#x8FD8;&#x6709;&#x4E00;&#x90E8;&#x5206;&#x77E5;&#x8BC6;&#x9700;&#x8981;&#x6211;&#x53BB;&#x56DE;&#x987E;&#x3002;

&#x8DEF;&#x7531;&#x4F20;&#x53C2;&#x65B9;&#x6CD5;&#x4E00;1234567VM.$router.push({path:&apos;/home/&apos;+id})&#x7528;&#x6765;&#x54CD;&#x5E94;routes:[  {     path:&apos;/home/:id&apos;  }    ]; VM.$route.params.id&#x53D6;&#x503C;
&#x65B9;&#x6CD5;&#x4E8C;1234567VM.$router.push({path:&apos;/home/&apos;+id})&#x7528;&#x6765;&#x54CD;&#x5...
            </p>
        </div>
      
        
    </div>
    <footer class="article-footer">
        
        <ul class="article-footer-menu">
            
                <li><i class="fa fa-calendar"></i>2018-11-07</li>
            
            
  <li class="article-footer-tags">
    <i class="fa fa-tags"></i>
      
    <a href="/tags/vue/" class="color4">vue</a>
      
    <a href="/tags/vue-router/" class="color1">vue-router</a>
      
    <a href="/tags/vue-cli3.0/" class="color1">vue-cli3.0</a>
      
  </li>

        </ul>
        
            <a href="/bac/#more" class="article-more-link">more&gt;&gt;</a>
        
    </footer>
  </div>
</article>


  


  <nav id="page-nav">
    <a class="extend prev" rel="prev" href="/page/3/"><< Prev</a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="page-number current">4</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/5/">Next >></a>
  </nav>
</section>
        
      </div>
      <footer id="footer">
  <div class="outer">
    <div id="footer-info" class="inner">
      
<p>
    <span id="busuanzi_container_site_uv" style="display:none">
        总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style="display:none">
        总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


      <p>
        Powered by  <a href="http://hexo.io/" target="_blank">Hexo</a>
        Theme <a href="//github.com/wongminho/hexo-theme-miho" target="_blank">MiHo</a>
      &copy; 2019 <br>
      </p>
    </div>
  </div>
</footer>
    <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
  var mihoConfig = {
      root: "https://bigbigdreamer.github.io",
      animate: true,
      isHome: true,
      share: true,
      reward: 1
  }
</script>
<div class="sidebar">
    <div id="sidebar-search" title="Search">
        <i class="fa fa-search"></i>
    </div>
    <div id="sidebar-category" title="Categories">
        <i class="fa fa-book"></i>
    </div>
    <div id="sidebar-tag" title="Tags">
        <i class="fa fa-tags"></i>
    </div>
    <div id="sidebar-top">
        <span class="sidebar-top-icon"><i class="fa fa-angle-up"></i></span>
    </div>
</div>
<div class="sidebar-menu-box" id="sidebar-menu-box">
    <div class="sidebar-menu-box-container">
        <div id="sidebar-menu-box-categories">
            <a class="category-link" href="/categories/CSS/">CSS</a><a class="category-link" href="/categories/ES6/">ES6</a><a class="category-link" href="/categories/JS原型链/">JS原型链</a><a class="category-link" href="/categories/Linux/">Linux</a><a class="category-link" href="/categories/NPM/">NPM</a><a class="category-link" href="/categories/Node/">Node</a><a class="category-link" href="/categories/Vue/">Vue</a><a class="category-link" href="/categories/Vue-Router/">Vue-Router</a><a class="category-link" href="/categories/WebWorker/">WebWorker</a><a class="category-link" href="/categories/ajax/">ajax</a><a class="category-link" href="/categories/前端接口调试/">前端接口调试</a><a class="category-link" href="/categories/方法/">方法</a><a class="category-link" href="/categories/杂货/">杂货</a><a class="category-link" href="/categories/经验/">经验</a><a class="category-link" href="/categories/设计模式/">设计模式</a>
        </div>
        <div id="sidebar-menu-box-tags">
            <a href="/tags/Async/" style="font-size: 10px;">Async</a> <a href="/tags/Babel-7-0/" style="font-size: 10px;">Babel 7.0</a> <a href="/tags/CSS/" style="font-size: 10px;">CSS</a> <a href="/tags/CSS3/" style="font-size: 10px;">CSS3</a> <a href="/tags/CSS样式/" style="font-size: 10px;">CSS样式</a> <a href="/tags/Collapse/" style="font-size: 10px;">Collapse</a> <a href="/tags/DMZ/" style="font-size: 10px;">DMZ</a> <a href="/tags/DOM/" style="font-size: 10px;">DOM</a> <a href="/tags/ES6/" style="font-size: 17.5px;">ES6</a> <a href="/tags/EXT/" style="font-size: 10px;">EXT</a> <a href="/tags/FAT/" style="font-size: 10px;">FAT</a> <a href="/tags/Function/" style="font-size: 10px;">Function</a> <a href="/tags/H5/" style="font-size: 10px;">H5</a> <a href="/tags/HTML5/" style="font-size: 10px;">HTML5</a> <a href="/tags/Hexo/" style="font-size: 10px;">Hexo</a> <a href="/tags/JS/" style="font-size: 12.5px;">JS</a> <a href="/tags/JS模块化/" style="font-size: 10px;">JS模块化</a> <a href="/tags/JavaScript/" style="font-size: 12.5px;">JavaScript</a> <a href="/tags/Less/" style="font-size: 10px;">Less</a> <a href="/tags/Linux/" style="font-size: 10px;">Linux</a> <a href="/tags/MarkDown/" style="font-size: 10px;">MarkDown</a> <a href="/tags/Modal/" style="font-size: 10px;">Modal</a> <a href="/tags/NPM/" style="font-size: 10px;">NPM</a> <a href="/tags/Node/" style="font-size: 10px;">Node</a> <a href="/tags/Package/" style="font-size: 10px;">Package</a> <a href="/tags/Promise/" style="font-size: 12.5px;">Promise</a> <a href="/tags/Render/" style="font-size: 10px;">Render</a> <a href="/tags/Sync/" style="font-size: 10px;">Sync</a> <a href="/tags/Template/" style="font-size: 10px;">Template</a> <a href="/tags/Vue/" style="font-size: 20px;">Vue</a> <a href="/tags/WebStorm/" style="font-size: 12.5px;">WebStorm</a> <a href="/tags/WebWorker/" style="font-size: 10px;">WebWorker</a> <a href="/tags/ajax/" style="font-size: 10px;">ajax</a> <a href="/tags/axios/" style="font-size: 12.5px;">axios</a> <a href="/tags/bat文件/" style="font-size: 10px;">bat文件</a> <a href="/tags/dos/" style="font-size: 10px;">dos</a> <a href="/tags/es6/" style="font-size: 10px;">es6</a> <a href="/tags/exports/" style="font-size: 10px;">exports</a> <a href="/tags/git/" style="font-size: 10px;">git</a> <a href="/tags/github/" style="font-size: 10px;">github</a> <a href="/tags/iview/" style="font-size: 15px;">iview</a> <a href="/tags/mac/" style="font-size: 10px;">mac</a> <a href="/tags/module-exports/" style="font-size: 10px;">module.exports</a> <a href="/tags/newTarget/" style="font-size: 10px;">newTarget</a> <a href="/tags/newYear/" style="font-size: 10px;">newYear</a> <a href="/tags/nginx/" style="font-size: 10px;">nginx</a> <a href="/tags/node/" style="font-size: 10px;">node</a> <a href="/tags/postman/" style="font-size: 10px;">postman</a> <a href="/tags/queue/" style="font-size: 10px;">queue</a> <a href="/tags/scope/" style="font-size: 10px;">scope</a> <a href="/tags/scroll/" style="font-size: 10px;">scroll</a> <a href="/tags/vue/" style="font-size: 17.5px;">vue</a> <a href="/tags/vue-cli3-0/" style="font-size: 10px;">vue @cli3.0</a> <a href="/tags/vue-cli3-0/" style="font-size: 10px;">vue-cli3.0</a> <a href="/tags/vue-router/" style="font-size: 10px;">vue-router</a> <a href="/tags/vue进阶/" style="font-size: 10px;">vue进阶</a> <a href="/tags/webpack/" style="font-size: 10px;">webpack</a> <a href="/tags/windows/" style="font-size: 10px;">windows</a> <a href="/tags/一曲相思/" style="font-size: 10px;">一曲相思</a> <a href="/tags/事件循环/" style="font-size: 10px;">事件循环</a> <a href="/tags/二次封装/" style="font-size: 10px;">二次封装</a> <a href="/tags/优化体验/" style="font-size: 10px;">优化体验</a> <a href="/tags/单例模式/" style="font-size: 10px;">单例模式</a> <a href="/tags/原型链/" style="font-size: 10px;">原型链</a> <a href="/tags/双大括号表达式/" style="font-size: 10px;">双大括号表达式</a> <a href="/tags/域名/" style="font-size: 10px;">域名</a> <a href="/tags/富文本编辑器/" style="font-size: 10px;">富文本编辑器</a> <a href="/tags/封装/" style="font-size: 10px;">封装</a> <a href="/tags/开发环境/" style="font-size: 10px;">开发环境</a> <a href="/tags/心情/" style="font-size: 12.5px;">心情</a> <a href="/tags/心灵驿站/" style="font-size: 10px;">心灵驿站</a> <a href="/tags/性能优化/" style="font-size: 10px;">性能优化</a> <a href="/tags/情感/" style="font-size: 10px;">情感</a> <a href="/tags/执行上下文/" style="font-size: 10px;">执行上下文</a> <a href="/tags/插件/" style="font-size: 10px;">插件</a> <a href="/tags/搜狐畅言/" style="font-size: 10px;">搜狐畅言</a> <a href="/tags/数据结构/" style="font-size: 10px;">数据结构</a> <a href="/tags/日常修仙/" style="font-size: 10px;">日常修仙</a> <a href="/tags/服务器数据Mock/" style="font-size: 10px;">服务器数据Mock</a> <a href="/tags/杂货/" style="font-size: 10px;">杂货</a> <a href="/tags/柯里化/" style="font-size: 10px;">柯里化</a> <a href="/tags/桌面美化/" style="font-size: 10px;">桌面美化</a> <a href="/tags/气泡提示/" style="font-size: 10px;">气泡提示</a> <a href="/tags/生产环境/" style="font-size: 10px;">生产环境</a> <a href="/tags/生命/" style="font-size: 10px;">生命</a> <a href="/tags/生活/" style="font-size: 10px;">生活</a> <a href="/tags/简单工厂模式/" style="font-size: 10px;">简单工厂模式</a> <a href="/tags/腾讯云/" style="font-size: 10px;">腾讯云</a> <a href="/tags/设计模式/" style="font-size: 12.5px;">设计模式</a> <a href="/tags/调试/" style="font-size: 10px;">调试</a> <a href="/tags/跨域/" style="font-size: 10px;">跨域</a>
        </div>
    </div>
    <a href="javascript:;" class="sidebar-menu-box-close">&times;</a>
</div>
<div class="mobile-header-menu-nav" id="mobile-header-menu-nav">
    <div class="mobile-header-menu-container">
        <span class="title">Menus</span>
        <ul class="mobile-header-menu-navbar">
            
            <li>
                <a href="/">
                    <i class="fa fa-home"></i><span>主页</span>
                </a>
            </li>
            
            <li>
                <a href="/archives">
                    <i class="fa fa-archive"></i><span>文章</span>
                </a>
            </li>
            
            <li>
                <a href="/about">
                    <i class="fa fa-user"></i><span>个人介绍</span>
                </a>
            </li>
            
            <li>
                <a href="/photo">
                    <i class="fa fa-photo"></i><span>照片集</span>
                </a>
            </li>
            
            <li>
                <a href="/works">
                    <i class="fa fa-briefcase"></i><span>作品集</span>
                </a>
            </li>
            
        </ul>
    </div>
    <div class="mobile-header-tag-container">
        <span class="title">Tags</span>
        <div id="mobile-header-container-tags">
            <a href="/tags/Async/" style="font-size: 10px;">Async</a> <a href="/tags/Babel-7-0/" style="font-size: 10px;">Babel 7.0</a> <a href="/tags/CSS/" style="font-size: 10px;">CSS</a> <a href="/tags/CSS3/" style="font-size: 10px;">CSS3</a> <a href="/tags/CSS样式/" style="font-size: 10px;">CSS样式</a> <a href="/tags/Collapse/" style="font-size: 10px;">Collapse</a> <a href="/tags/DMZ/" style="font-size: 10px;">DMZ</a> <a href="/tags/DOM/" style="font-size: 10px;">DOM</a> <a href="/tags/ES6/" style="font-size: 17.5px;">ES6</a> <a href="/tags/EXT/" style="font-size: 10px;">EXT</a> <a href="/tags/FAT/" style="font-size: 10px;">FAT</a> <a href="/tags/Function/" style="font-size: 10px;">Function</a> <a href="/tags/H5/" style="font-size: 10px;">H5</a> <a href="/tags/HTML5/" style="font-size: 10px;">HTML5</a> <a href="/tags/Hexo/" style="font-size: 10px;">Hexo</a> <a href="/tags/JS/" style="font-size: 12.5px;">JS</a> <a href="/tags/JS模块化/" style="font-size: 10px;">JS模块化</a> <a href="/tags/JavaScript/" style="font-size: 12.5px;">JavaScript</a> <a href="/tags/Less/" style="font-size: 10px;">Less</a> <a href="/tags/Linux/" style="font-size: 10px;">Linux</a> <a href="/tags/MarkDown/" style="font-size: 10px;">MarkDown</a> <a href="/tags/Modal/" style="font-size: 10px;">Modal</a> <a href="/tags/NPM/" style="font-size: 10px;">NPM</a> <a href="/tags/Node/" style="font-size: 10px;">Node</a> <a href="/tags/Package/" style="font-size: 10px;">Package</a> <a href="/tags/Promise/" style="font-size: 12.5px;">Promise</a> <a href="/tags/Render/" style="font-size: 10px;">Render</a> <a href="/tags/Sync/" style="font-size: 10px;">Sync</a> <a href="/tags/Template/" style="font-size: 10px;">Template</a> <a href="/tags/Vue/" style="font-size: 20px;">Vue</a> <a href="/tags/WebStorm/" style="font-size: 12.5px;">WebStorm</a> <a href="/tags/WebWorker/" style="font-size: 10px;">WebWorker</a> <a href="/tags/ajax/" style="font-size: 10px;">ajax</a> <a href="/tags/axios/" style="font-size: 12.5px;">axios</a> <a href="/tags/bat文件/" style="font-size: 10px;">bat文件</a> <a href="/tags/dos/" style="font-size: 10px;">dos</a> <a href="/tags/es6/" style="font-size: 10px;">es6</a> <a href="/tags/exports/" style="font-size: 10px;">exports</a> <a href="/tags/git/" style="font-size: 10px;">git</a> <a href="/tags/github/" style="font-size: 10px;">github</a> <a href="/tags/iview/" style="font-size: 15px;">iview</a> <a href="/tags/mac/" style="font-size: 10px;">mac</a> <a href="/tags/module-exports/" style="font-size: 10px;">module.exports</a> <a href="/tags/newTarget/" style="font-size: 10px;">newTarget</a> <a href="/tags/newYear/" style="font-size: 10px;">newYear</a> <a href="/tags/nginx/" style="font-size: 10px;">nginx</a> <a href="/tags/node/" style="font-size: 10px;">node</a> <a href="/tags/postman/" style="font-size: 10px;">postman</a> <a href="/tags/queue/" style="font-size: 10px;">queue</a> <a href="/tags/scope/" style="font-size: 10px;">scope</a> <a href="/tags/scroll/" style="font-size: 10px;">scroll</a> <a href="/tags/vue/" style="font-size: 17.5px;">vue</a> <a href="/tags/vue-cli3-0/" style="font-size: 10px;">vue @cli3.0</a> <a href="/tags/vue-cli3-0/" style="font-size: 10px;">vue-cli3.0</a> <a href="/tags/vue-router/" style="font-size: 10px;">vue-router</a> <a href="/tags/vue进阶/" style="font-size: 10px;">vue进阶</a> <a href="/tags/webpack/" style="font-size: 10px;">webpack</a> <a href="/tags/windows/" style="font-size: 10px;">windows</a> <a href="/tags/一曲相思/" style="font-size: 10px;">一曲相思</a> <a href="/tags/事件循环/" style="font-size: 10px;">事件循环</a> <a href="/tags/二次封装/" style="font-size: 10px;">二次封装</a> <a href="/tags/优化体验/" style="font-size: 10px;">优化体验</a> <a href="/tags/单例模式/" style="font-size: 10px;">单例模式</a> <a href="/tags/原型链/" style="font-size: 10px;">原型链</a> <a href="/tags/双大括号表达式/" style="font-size: 10px;">双大括号表达式</a> <a href="/tags/域名/" style="font-size: 10px;">域名</a> <a href="/tags/富文本编辑器/" style="font-size: 10px;">富文本编辑器</a> <a href="/tags/封装/" style="font-size: 10px;">封装</a> <a href="/tags/开发环境/" style="font-size: 10px;">开发环境</a> <a href="/tags/心情/" style="font-size: 12.5px;">心情</a> <a href="/tags/心灵驿站/" style="font-size: 10px;">心灵驿站</a> <a href="/tags/性能优化/" style="font-size: 10px;">性能优化</a> <a href="/tags/情感/" style="font-size: 10px;">情感</a> <a href="/tags/执行上下文/" style="font-size: 10px;">执行上下文</a> <a href="/tags/插件/" style="font-size: 10px;">插件</a> <a href="/tags/搜狐畅言/" style="font-size: 10px;">搜狐畅言</a> <a href="/tags/数据结构/" style="font-size: 10px;">数据结构</a> <a href="/tags/日常修仙/" style="font-size: 10px;">日常修仙</a> <a href="/tags/服务器数据Mock/" style="font-size: 10px;">服务器数据Mock</a> <a href="/tags/杂货/" style="font-size: 10px;">杂货</a> <a href="/tags/柯里化/" style="font-size: 10px;">柯里化</a> <a href="/tags/桌面美化/" style="font-size: 10px;">桌面美化</a> <a href="/tags/气泡提示/" style="font-size: 10px;">气泡提示</a> <a href="/tags/生产环境/" style="font-size: 10px;">生产环境</a> <a href="/tags/生命/" style="font-size: 10px;">生命</a> <a href="/tags/生活/" style="font-size: 10px;">生活</a> <a href="/tags/简单工厂模式/" style="font-size: 10px;">简单工厂模式</a> <a href="/tags/腾讯云/" style="font-size: 10px;">腾讯云</a> <a href="/tags/设计模式/" style="font-size: 12.5px;">设计模式</a> <a href="/tags/调试/" style="font-size: 10px;">调试</a> <a href="/tags/跨域/" style="font-size: 10px;">跨域</a>
        </div>
    </div>
</div>
<div class="search-wrap">
    <span class="search-close">&times;</span>
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
            <i class="icon icon-lg icon-chevron-left"></i>
        </a>
        <input class="search-field" placeholder="Search..." id="keywords">
        <a id="search-submit" href="javascript:;">
            <i class="fa fa-search"></i>
        </a>
    <div class="search-container" id="search-container">
        <ul class="search-result" id="search-result">
        </ul>
    </div>
</div>

<div id="search-tpl">
    <li class="search-result-item">
        <a href="{url}" class="search-item-li">
            <span class="search-item-li-title" title="{title}">{title}</span>
        </a>
    </li>
</div>
<script src="/js/search.js"></script>
<script src="/js/main.js"></script>


  <script src="//cdn.bootcss.com/particles.js/2.0.0/particles.min.js"></script>
  <div id="particles"></div>
  <script src="/js/particles.js"></script>







  <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
  <script src="//cdn.bootcss.com/scrollReveal.js/3.0.5/scrollreveal.js"></script>
  <script src="/js/animate.js"></script>


  </div>
</body>
</html>